﻿using Microsoft.AspNet.SignalR;

namespace Common.Service.Notification
{
    public class ChatHub : Hub
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="name"></param>
        /// <param name="message"></param> 
        public void Send(string name, string message)
        {
            // Call the broadcastMessage method to update clients.
            Clients.All.senMessageToPage(name, message);
        }
    }
}
